package com.ruicar.afs.cloud.afscase.interfacerecord.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruicar.afs.cloud.afscase.interfacerecord.entity.CaseInterfaceRecord;
import com.ruicar.afs.cloud.afscase.interfacerecord.vo.BankCardOcrDiscernVo;
import com.ruicar.afs.cloud.afscase.interfacerecord.vo.IdCardBackOcrDiscernVo;
import com.ruicar.afs.cloud.afscase.interfacerecord.vo.IdCardFrontOcrDiscernVo;
import com.ruicar.afs.cloud.afscase.interfacerecord.vo.InvoiceCarOcrDiscernVo;
import com.ruicar.afs.cloud.image.condition.OcrDiscernCondition;

/**
 * @author rongji.zhang
 * @version 1.0
 * @description: 调用接口记录
 * @created 2020/8/14 16:27
 */
public interface CaseOcrInterfaceRecordService extends IService<CaseInterfaceRecord> {

    /**
     * @param condition
     * @Description:获取机动车发票OCR识别
     * @Author: rongji.zhang
     * @Date: 2020/8/12 11:41
     * @Return: InvoiceCarOcrDiscernVo
     */
    InvoiceCarOcrDiscernVo getInvoiceCarOcrDiscern(OcrDiscernCondition condition);

    /**
     * @param condition
     * @Description:获取银行卡OCR识别
     * @Author: rongji.zhang
     * @Date: 2020/8/12 11:41
     * @Return: BankCardOcrDiscernVo
     * 文件类型FileCode决定返回值和调用方法
     */
    BankCardOcrDiscernVo getBankCardOcrDiscern(OcrDiscernCondition condition);

    /**
     * @param condition
     * @Description:获取身份证正面OCR识别
     * @Author: rongji.zhang
     * @Date: 2020/8/12 11:41
     * @Return: IdCardFrontOcrDiscernVo
     */
    IdCardFrontOcrDiscernVo getIdCardFrontOcrDiscern(OcrDiscernCondition condition);

    /**
     * @param condition
     * @Description:获取身份证反面OCR识别
     * @Author: rongji.zhang
     * @Date: 2020/8/12 11:41
     * @Return: IdCardBackOcrDiscernVo
     */
    IdCardBackOcrDiscernVo getIdCardBackOcrDiscern(OcrDiscernCondition condition);
}
